A Method of Deviation for Drawing Implicit Curves
نویسندگان
چکیده
In contrast to the mid point technique, which may not be successful in a region where two edges of a curve cross each other, this paper introduces a unified approach called Method of Deviation that draws digital curve transforming the implicit equation of analog curve into algorithm. The method involves finding the deviation of the location of the pixel from the location of the corresponding point on the analog curve. The method is applied to implicit curves of degree three (Folium of Descartes), four (Cassini Ovals) and on the curve y – sin(1/x) = 0. The curves drawn are always one pixel wide even at the singular points. For some of the curves (e.g. Folium of Descartes, Cassini Ovals) integer arithmetic is sufficient, but for some other curves (e.g. y – sin(1/x) = 0) floating point arithmetic is required.
منابع مشابه
Drawing Lines and Conic Sections using Method of Deviation
Method of deviation was introduced in [1] for drawing implicit curves. This paper develops algorithms for drawing lines and conic sections using method of deviation. All computations are performed in integer mode. The lines and conic sections drawn are compared with those drawn using mid point algorithm.
متن کاملMulti-Residue Analysis of Pesticides in Pistachio Using Gas Chromatography-Mass Spectrometry (GC/MS)
Background: Analysis of pesticide residues in food and other environmental commodities have become an essential requirement for consumers, producers, food inspectors and authorities. This study is focused on validation of an accurate, rapid and reliable method for multi-residual analysis of pesticides in pistachio as a strategic crop for export and one of the main nuts in Iranian food basket.Me...
متن کاملSurvey the effect of drawing and implementing of concept map in a group method with a computer on the divergent thinking of nursing students
Introduction: Concept map is one of the effective methods in the evolution of medical education, which leads to the development of learning problem solving, group skills and creativity. The purpose of this study was to determine the effect of drawing and implementing of concept map in a group method with a computer on the divergent thinking of nursing students. Materials and methods: The presen...
متن کاملDrawing CCCT Diagrams and Investigation of Deformation Effects on Martensite and Bainite Trabsformations in NiCrMoV Steel
In this study, two CCCT diagrams are drawn to be compared with a CCT diagram. The CCCT diagrams represent continuous cooling transformations in stress assisted state. The increased Md and Bd temperatures of CCCT diagrams were also compared with those of the CCT diagrams and the cause was investigated from both thermodynamic and metallurgical viewpoints. Thermodynamic examinations revealed that ...
متن کاملبررسی ویژگیهای قدرت خط و نیروی نوسانگر اتمهای نقره و طلا با استفاده از نظریه تقریب کولنی
Single-valence electron atoms are an important class of atoms. Their oscillator strengths are their important properties. Knowing the oscillator strengths one can easity calculate the transition probabilities of the spectral lines and hence the lifetimes of energy levels of most atoms. The oscillator strengths of the spectral lines of most atoms are not knoen with sufficient accuracy due to t...
متن کامل